package com.pig4cloud.pig.module.api.entity.agent;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 代理列对象 agent_company
 *
 * @author ruoyi
 * @date 2022-12-14
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("agent_company")
public class AgentCompany implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 代理名称
     */
    private String agentName;

    /**
     * 负责人姓名
     */
    private String agentLeaderName;

    /**
     * 负责人电话
     */
    private String agentLeaderPhone;

    /**
     * 代理级别 0 - 省级代理  1 - 市级代理 2 - 区县级代理
     */
    private Long agentLevel;

    /**
     * 代理所在省份
     */
    private Long provId;

    /**
     * 代理所在城市
     */
    private Long cityId;

    /**
     * 代理所在区县
     */
    private Long districtId;

    /**
     * $column.columnComment
     */
    private String provName;

    /**
     * $column.columnComment
     */
    private String cityName;

    /**
     * $column.columnComment
     */
    private String districtName;

    /**
     * 状态
     */
    private Long state;

    @TableField(exist = false)
    private String[] provinceArray;
    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
